Using term rewriting systems to design and verify processors
نویسندگان
چکیده
We present a novel use of Term Rewriting Systems (TRS's) to describe micro-architectures. The state of a system is represented as a TRS term while the state transitions are represented as TRS rules. TRS descriptions are amenable to both veri cation and synthesis. We illustrate the use of TRS's by giving the operational semantics of a simple RISC instruction set. We then present another TRS that implements the same instruction set on a micro-architecture which permits register renaming and speculative execution. The correctness of the speculative implementation is discussed in terms of the ability of the two TRS's to simulate each other. Our method facilitates understanding of important micro-architectural di erences without delving into low-level implementation details.
منابع مشابه
Using Term Rewriting Systems to Design and Verify Processors Using Term Rewriting Systems to Design and Verify Processors
We present a novel use of Term Rewriting Systems (TRS's) to describe micro-architectures. The state of a system is represented as a TRS term while the state transitions are represented as TRS rules. TRS descriptions are amenable to both veriication and synthesis. We illustrate the use of TRS's by giving the operational semantics of a simple RISC instruction set. We then present another TRS that...
متن کاملArchitectural Specification, Exploration and Simulation Through Rewriting-Logic
In recent years Arvind’s Group at MIT has shown the usefulness of term rewriting theory for the specification of processor architectures. In their approach processors specified by term rewriting systems are translated into a standard hardware description language for simulation purposes. In this work we present our current investigation on the use of Rewriting-Logic, which is a more powerful th...
متن کاملDesign and Veriication of Speculative Processors Computation Structures Group Memo 400 (b) Design and Veriication of Speculative Processors
We deene AX, a simple RISC instruction set, by specifying its operational semantics using term rewriting systems (TRS). We then give another TRS that models an AX implementation which permits out-of-order and speculative instruction execution. The correctness of the speculative implementation is proved by showing that the two TRS's can simulate each other with regards to some observation functi...
متن کاملUsing Rewriting Rules and Positive Equality to Formally Verify Wide-Issue Out-Of-Order Microprocessors with a Reorder Buffer1
Rewriting rules and Positive Equality [4] are combined in an automatic way in order to formally verify out-of-order processors that have a Reorder Buffer, and can issue/retire multiple instructions per clock cycle. Only register-register instructions are implemented, and can be executed out-of-order, as soon as their data operands can be either read from the Register File, or forwarded as resul...
متن کاملOn Some Implementation Aspects of VMTL
VMTL (Vienna Modular Termination Laboratory [12]) is a program designed to (semi-) automatically prove termination of various classes of term rewriting systems (TRSs). In particular, conditional and context-sensitive TRSs (CTRSs and CSRSs) are supported. Based on the well-known dependency pair framework of [1, 7, 4], VMTL is extensible by new dependency pair processors and transformations (from...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- IEEE Micro
دوره 19 شماره
صفحات -
تاریخ انتشار 1999